<template>
  <van-nav-bar title="打卡提醒" left-arrow @click-left="router.back()" />

  <div class="detail-container">
    <div class="detail-card">
      <div class="detail-header">
        <span class="detail-title">运动打卡</span>
        <span class="detail-date">2021-05-21</span>
      </div>
      <div class="detail-desc">
        今日需打卡一次，运动方式：散步，请注意控制运动量哦！
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter()
</script>

<style scoped>
.detail-container {
  background: #f7f8fa;
  min-height: 100vh;
  padding: 16px 0;
}
.detail-card {
  background: #fff;
  border-radius: 14px;
  margin: 0 12px;
  padding: 20px 18px 40px 18px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.02);
}
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.detail-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.detail-date {
  color: #bcbcbc;
  font-size: 13px;
}
.detail-desc {
  font-size: 14px;
  color: #888;
  margin-top: 6px;
  line-height: 1.7;
}
</style>